//
//  OpertionPlist.m
//  QRMaster
//
//  Created by myApple on 15/6/9.
//  Copyright (c) 2015年 myApple. All rights reserved.
//

#import "OpertionPlist.h"

@implementation OpertionPlist

+(void)writeDataToPlist:(NSMutableDictionary * )data
{
    [data writeToFile:[self getPlistPath] atomically:YES];
}


+(NSMutableDictionary *)readDataFromPlist
{
    NSMutableDictionary * newData = [[NSMutableDictionary alloc]initWithContentsOfFile:[self getPlistPath]];
    return newData;
}

+(NSString *)getPlistPath
{
    NSArray * paths = HomePathArray;
    NSString * FilePath = [paths objectAtIndex:0];
    NSString * PlistName = [FilePath stringByAppendingPathComponent:@"/StaffAndCommunity.plist"];
    return PlistName;

}

@end
